package com.hopu.pojo;

import java.util.Date;

/*
    *登记表
    * */
public class Dengji {
    private int mid;
    private long mdate;//登记时间
    private int eid;//员工id
    private int cid;//客户id
    private int hid;//房屋信息id
    private String mimg;//合同图片
    private Float myj;//押金
    private Float myzj;//租金
    private int mflag;//正在出租中（已出租）为0  退租（未出租）为1
    private long mbegintime;//下次收租日期
    private Cus cus;
    private House house;
    private Emp emp;
    private Djsf djsf;

    public Djsf getDjsf() {
        return djsf;
    }

    public void setDjsf(Djsf djsf) {
        this.djsf = djsf;
    }

    @Override
    public String toString() {
        return "Dengji{" +
                "mid=" + mid +
                ", mdate=" + mdate +
                ", eid=" + eid +
                ", cid=" + cid +
                ", hid=" + hid +
                ", mimg='" + mimg + '\'' +
                ", myj=" + myj +
                ", myzj=" + myzj +
                ", mflag=" + mflag +
                ", mbegintime=" + mbegintime +
                ", cus=" + cus +
                ", house=" + house +
                ", emp=" + emp +
                '}';
    }

    public Cus getCus() {
        return cus;
    }

    public void setCus(Cus cus) {
        this.cus = cus;
    }

    public House getHouse() {
        return house;
    }

    public void setHouse(House house) {
        this.house = house;
    }

    public Emp getEmp() {
        return emp;
    }

    public void setEmp(Emp emp) {
        this.emp = emp;
    }


    public int getMid() {
            return mid;
        }

        public void setMid(int mid) {
            this.mid = mid;
        }



        public int getEid() {
            return eid;
        }

        public void setEid(int eid) {
            this.eid = eid;
        }

        public int getCid() {
            return cid;
        }

        public void setCid(int cid) {
            this.cid = cid;
        }

        public int getHid() {
            return hid;
        }

        public void setHid(int hid) {
            this.hid = hid;
        }

        public String getMimg() {
            return mimg;
        }

        public void setMimg(String mimg) {
            this.mimg = mimg;
        }

    public Float getMyj() {
        return myj;
    }

    public void setMyj(Float myj) {
        this.myj = myj;
    }

    public long getMdate() {
        return mdate;
    }

    public void setMdate(long mdate) {
        this.mdate = mdate;
    }

    public long getMbegintime() {
        return mbegintime;
    }

    public void setMbegintime(long mbegintime) {
        this.mbegintime = mbegintime;
    }

    public Float getMyzj() {
            return myzj;
        }

        public void setMyzj(Float myzj) {
            this.myzj = myzj;
        }

        public int getMflag() {
            return mflag;
        }

        public void setMflag(int mflag) {
            this.mflag = mflag;
        }

}
